package tree.avl;

/**
 * Created by root on 3/7/17.
 */
public class AvlTreeTest {
    public static void main(String[] args){
        AvlTree<String> tree = new AvlTree<String>(new AvlNode<String>("r"));
        tree.insert("a");
        tree.insert("e");
        tree.insert("y");
        tree.insert("u");
        tree.insert("b");
        tree.insert("j");
        tree.insert("h");
        tree.insert("g");
        tree.insert("s");
        tree.insert("w");
        tree.insert("v");
        tree.insert("t");
        tree.insert("f");
        tree.printTree(tree.getRoot());
    }
}
